public final class an
    implements k
{

    private ap b;
    private aj c;
    private az d;
    private az e;
    private az f;
    public i a;

    public an(u u1, String s, az az1, az az2, i j)
    {
        this(u1, s, az1, null, az2, j);
    }

    public an(u u1, String s, az az1, az az2, az az3, i j)
    {
        d = az1;
        e = az2;
        f = az3;
        a = j;
        b = new ap(bh.d(), 0, 0);
        if(u1 != null)
        {
            as as1;
            (as1 = new as(bh.a("window.icon"), u1)).k(-100);
            as1.L = 10;
            b.b(as1);
        }
        if(s != null)
        {
            t t1;
            (t1 = new t(bh.a("window.text"), s)).k(-100);
            t1.L = 10;
            b.b(t1);
        }
        c = aj.a(b);
        c.c = this;
        c.L |= 0x60;
    }

    public final bn a()
    {
        if(!(b.s() instanceof bn))
        {
            bn bn1;
            (bn1 = new bn(bh.a("window.progress"), -100, 0)).L = 10;
            b.b(bn1);
        }
        return (bn)b.s();
    }

    public final boolean a(Object obj)
    {
        return a.a(obj);
    }

    public final void a(ba ba1, int j)
    {
        if(d != null && j == ((ba) (d)).M || e != null && j == ((ba) (e)).M || f != null && j == ((ba) (f)).M)
        {
            c();
            bh.b().a(a, ba1, j);
        }
    }

    public final cd a(ba ba1)
    {
        return null;
    }

    public final az b(ba ba1, int j)
    {
        if(j == 1)
            return d;
        if(j == 3)
            return e;
        if(j == 2)
            return f;
        else
            return null;
    }

    public final boolean a(int j, int l)
    {
        return false;
    }

    public final void b()
    {
        bh.b().a(c, true);
    }

    public final void c()
    {
        if(c != null)
            bh.b().b(c, true);
    }
}